package com.hlxt.nj.common;

import java.util.HashMap;
import java.util.Map;

public class BusiConst {
	public static String SESSION_USER = "com.hlxt.nj.sys.model.TUser";
	public static String VALIDATE_CODE = "validateCode";
	public static String SESSION_USER_URL = "url";
	public static String SESSION_USER_MENU = "menu";
	public static String SESSION_USER_ACCESSELEMENT = "accessElement";
	public static String SESSION_USER_ACCESSCONTROLLERS = "accessControllers";
	public static String SYS_ADMIN_ID = "1000000000000001";           //超级管理员用户ID


	/*正则*/
	public static String REGExp_MOBILEPHONE = "^0?(13[0-9]|15[012356789]|17[012356789]|18[02356789]|14[57])[0-9]{8}$";  //手机号验证
	public static String REGExp_EMAIL = "^(\\w)+(\\.\\w+)*@(\\w)+((\\.\\w{2,3}){1,3})$";  //邮箱验证
	public static String REGExp_LOGINNAME = "^[0-9A-Za-z_]{5,16}$";  //登陆账号验证
	public static String REGExp_IPV4="^([1-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])(\\.(\\d|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])){3}$";//ip验证
	public static String REGExp_CH="^[\u4E00-\u9FFF]+$";//中文验证
	public static String REGExp_URL="^(https?|http)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*.(com|cn|net|org|biz|info|cc|tv)+$";//URL验证


	/*用户注销状态*/
	public static String DEFAULT_PASSWORD="abc123";
}
